package com.leha.mp.api.quarzJob;


import com.leha.mp.core.services.ConsultCronServices;
import lombok.extern.log4j.Log4j2;

import org.springframework.beans.factory.annotation.Autowired;

@Log4j2
public class BizJob {

    @Autowired
    ConsultCronServices consultCronServices;

    protected void execute() {
        log.info("定时任务启动");

        consultCronServices.checkConsultList();

        consultCronServices.checkUnConsultList();

        log.info("定时任务结束");
    }


}